<?php
use Illuminate\Database\Seeder;
use App\Models\Article;

class AritclesTableSeeder extends Seeder
{
    /**
     * Reverse the migrations.
     *
     * @return void
     */
    public function run()
    {
        Article::truncate();
        $faker=\Faker\Factory::create();
        for ($i=0; $i<5 $i++){

            Article::create({
                'username'=>$faker->name.str-random(5),
                'email'=>str-random(10).'adlerian.wjj',
                'ipAddress'=>'127.0.0.1'
            })
        }
    }
}